package org.easy.eao.annotations.hibernate;

import org.hibernate.LockMode;

public enum LockEnum {

	NONE(LockMode.NONE),
	READ(LockMode.READ),
	UPGRADE(LockMode.UPGRADE),
	UPGRADE_NOWAIT(LockMode.UPGRADE_NOWAIT),
	WRITE(LockMode.WRITE),
	FORCE(LockMode.FORCE);
	
	private LockMode mode;

	private LockEnum(LockMode mode) {
		this.mode = mode;
	}

	public LockMode getMode() {
		return mode;
	}

}
